// dsPIC33FJ64MC802
// simple test connect LED to RB5(Pin14) and toggle it


#include "p33FJ64MC802.h"
int main( void)
{
TRISBbits.TRISB5=0; // set PortB5 as output ( pic use 0 as output )
	while(1)
	{
		int i;
		
		PORTBbits.RB5=!PORTBbits.RB5; // toogle PORTB bit5
		
		for (i=0;i<30000;i++); // simple delay
	
	}

}
